@import './modules/base';
@import './header';
@import './footer';
$width: 996px;
$color:#87d0e3;

.wrap {
    width: 100%;
    height: 100%;


    .main {
        width: $width;
        height: auto;
        margin: 0 auto;
        overflow: hidden;


        .main-pic {
            width: 487px;
            height: 487px;
            float: left;
            margin-bottom: 10px;

            img {
                width: 100%;
                height: 100%;
            }
        }

        .main-right {
            float: right;
            width: 485px;
            height: 487px;

            p img {
                width: 485px;
                height: 290px;
            }

            h3 {
                margin-top: 25px;
                color: #2093cc;
                font-size: 20px;
            }

            h4 {
                margin-top: 2px;
                color: #2093cc;
                font-weight: normal;
                font-size: 12px;
                width: 485px;

                i {
                    float: left;
                }

                span {
                    display: inline-block;
                    float: right;
                    font-size: 15px;
                    font-weight: 600;
                }
            }

            .main-wrap {
                height: 112px;
                width: 485px;
                margin-top: 30px;
                margin-bottom: 10px;

                .slt {
                    width: 237px;
                    height: 50px;
                    background-color: $color;
                    float: left;

                    dl {
                        padding-left: 20px;


                        dt {
                            font-size: 12px;
                            color: #fff;
                            height: 50px;
                            line-height: 50px;
                            float: left;
                        }

                        dd {
                            width: 175px;
                            height: 25px;
                            margin-top: 13px;
                            margin-left: 5px;
                            float: left;

                            background-color: #fff;

                            a {
                                color: $color;
                                font-size: 12px;
                                padding-left: 10px;
                            }
                        }
                    }
                }

                .car {
                    width: 237px;
                    height: 50px;
                    line-height: 50px;
                    text-align: center;
                    background-color: $color;
                    float: right;

                    a {
                        color: #fff;
                        font-size: 12px;

                    }
                }

                .num {
                    width: 237px;
                    height: 50px;
                    line-height: 50px;
                    background-color: $color;
                    float: left;
                    margin-top: 12px;

                    p {
                        font-size: 12px;
                        color: #fff;
                        margin-left: 20px;
                        float: left;
                    }

                    span:nth-child(2) {
                        width: 25px;
                        height: 25px;
                        line-height: 27px;
                        text-align: center;
                        display: inline-block;
                        margin-left: 40px;
                        font-size: 12px;
                        color: #fff;
                        border: 1px solid #fff;

                    }

                    span:nth-child(3) {
                        width: 25px;
                        height: 25px;
                        line-height: 27px;
                        text-align: center;
                        display: inline-block;
                        background-color: #fff;
                        color: $color;
                        font-size: 12px;
                        border: 1px solid #fff;

                    }

                    span:nth-child(4) {
                        width: 25px;
                        height: 25px;
                        line-height: 27px;
                        text-align: center;
                        display: inline-block;
                        font-size: 12px;
                        color: #fff;

                        border: 1px solid #fff;
                    }
                }

                .buy {
                    width: 237px;
                    height: 50px;
                    line-height: 50px;
                    text-align: center;
                    font-size: 12px;
                    background-color: #ffff00;
                    float: right;
                    margin-top: 12px;

                    a {
                        color: #626262;
                    }
                }
            }
        }

        .pic {
            width: $width;
            height: auto;
            // margin: 0 auto;
            padding-top: 10px;

            p img {
                width: $width;
                display: block;
            }
        }
    }



    .sp {
        width: $width;
        height: 25px;
        margin: 0 auto;
        background-color: #ededed;
    }

    .p {
        width: $width;
        height: 20px;
        padding-top: 20px;
        margin: 0 auto;
        font-size: 12px;
        color: #656565;
    }

    .dl {
        width: $width;
        height: auto;
        margin: 0 auto;
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
        position: relative;

        dl {
            width: 325px;
            height: 322px;

            dd img {
                height: 280px;
                width: 325px;
                display: block;
                position: absolute;
                top: -15px;
            }

            dt {
                width: 325px;
                height: 50px;
                background-color: $color;
                position: absolute;
                top: 220px;

                h1,
                p {
                    font-weight: normal;
                    color: #fff;
                    font-size: 12px;
                    padding-left: 15px;
                    padding-top: 10px;

                }

                p {
                    padding-top: 0px;
                }
            }
        }
    }
}

.cart {
    position: fixed;
    top: 220px;
    right: 45px;

    a {
        color: #87d0e3;

        b {
            color: #2093cc;
        }
    }

}